package frontend.pages.worklog.morning;

import frontend.model.worklog.MorningWorkLogUIModel;
import org.apache.wicket.markup.html.panel.Panel;

public class MorningWorkLogPanel extends Panel {

    public MorningWorkLogPanel(String id) {
        super(id);
        setOutputMarkupId(true);
        initComponents();
    }

    private void initComponents() {
        buildFormContainer();
    }

    private void buildFormContainer() {
        add(new MorningWorkLogForm("morningWorkLogForm", new MorningWorkLogUIModel()));
        setOutputMarkupId(true);
        setOutputMarkupPlaceholderTag(true);
    }
}
